export default {
  path: "/task",
  redirect: "/task/taskList",
  meta: {
    title: "测试任务",
    icon: "task",
    // roles: ["admin"],
    rank: 6
  },
  children: [
    {
      path: "/task/taskList",
      name: "task",
      component: () => import("@/views/task/taskList/index.vue"),
      meta: {
        title: "查看测试任务",
        showLink: true,
        icon: "search"
      }
    },
    {
      path: "/task/taskDetail",
      name: "taskDeail",
      component: () => import("@/views/task/taskList/taskDetail/index.vue"),
      meta: {
        showLink: false,
        title: "任务记录"
      }
    },
    {
      path: "/task/buildTask",
      name: "build",
      component: () => import("@/views/task/buildTask/index.vue"),
      meta: {
        title: "查看定时任务",
        showLink: true,
        icon: "OfficeBuilding"
      }
    }
  ]
};
